function saveFilters(filterArray)
{
	var filterString = filterArray.join(',');
	
	widget.setPreferenceForKey(filterString, 'filter');
}
function loadFilters()
{
	var filterString = widget.preferenceForKey('filter');
	
	if(filterString)
		return filterString.split(',');
	else
		return new Array(1,1,1,1,1);
}
